package com.gupaoedu.vip.abstractfactory;

import com.gupaoedu.vip.model.HuaweiPhone;
import com.gupaoedu.vip.model.IPhone;
import com.gupaoedu.vip.model.Phone;
import com.gupaoedu.vip.model.XiaomiPhone;

public class PhoneFactory extends AbstractFactory {
    @Override
    public Phone getXiaomi() {
        return new XiaomiPhone();
    }

    @Override
    public Phone getHuawei() {
        return new HuaweiPhone();
    }

    @Override
    public Phone getIphone() {
        return new IPhone();
    }
}
